package com.catbad.mapper;

import com.catbad.domain.User;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long uid);

    int insert(User record);

    User selectByPrimaryKey(Long uid);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User selectByUaccount(String uaccount);

    int save(User user);

    User selectByName(String uname);

    Long getCinemaId(String account);

    String getPassById(Long uid);
}